/******************公共样式****************************/
.clearboth:after {
    display: block;
    content: "";
    clear: both;
    visibility: hidden;
}

html {
    font-family: "微软雅黑";
}

i {
    font-style: normal;
}

* {
    font-size: 14px;
}

html, body, header, section, footer, div, ul, ol, li, img, a, span, em, del, legend, center, strong, var, fieldset, form, label, dl, dt, dd, cite, input, hr, time, mark, code, figcaption, figure, textarea, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    border: 0;
    padding: 0;
    font-style: normal;
}

button {
    border: none;
    margin: 0px;
    padding: 0px;
}

ul li {
    list-style: none;
}

* {
    padding: 0px;
    margin: 0px;
}

.header {
    width: 100%;
    height: 50px;
    background-color: grey;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    text-align: center;
}

.a {
    width: 33%;
    height: 50px;
    float: left;
    margin: 0 auto;
    line-height: 50px;
}

/*<!-----  上面每个都要复制 --------->*/

/******************************************商品规格**********************************************************************/
.ware-content {
    margin: 10px 10px 60px 10px;
}

.ware-content .ware-xiangqing {
    padding: 10px 0 15px 0px;
    border-bottom: 1px solid #eeeeee;
}

.ware-xiangqing .left {
    float: left;
}

.ware-xiangqing .left img {
    float: left;
    margin-right: 15px;
    width: 80px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
}

.left .title {
    float: left;
}

.ware-xiangqing .left b, .ware-xiangqing .right b {
    font-size: 16px;
    display: block;
    height: 60px;
}

.ware-xiangqing .left span, .ware-xiangqing .right span {
    color: #cccccc;
}

.ware-xiangqing .right {
    float: right;
}

.ware-xiangqing .right b {
    color: red;
}

.badysexage, .waresize, .ware-content .warecount {
    border-bottom: 1px solid #eeeeee;
}

/*这里是宝宝性别未选中的样式*/
.badysexage ul li, .waresize ul li {
    float: left;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #CCCCCC;
    margin-right: 15px;
    color: #CCCCCC;
}

/*这里是宝宝性别选中的样式*/
.badysexage ul li.badysexageActive, .waresize ul li.badysexageActive {
    background: #ff3b43;
    color: #fff;
    border: none;
    border: 1px solid #ff3b43;
}

.badysexage ul li:last-child, .waresize ul li:last-child {
    margin-right: 0px;
}

.badysexage ul.age li {
    margin-bottom: 15px;
}

.badysexage p, .waresize p {
    margin: 10px 0;
}

.waresize ul li {
    margin-bottom: 15px;
    padding: 6px 25px;
}

.ware-content .warecount {
    height: 60px;
}

.warecount .count {
    float: right;
    width: 100px;
    text-align: right;
}

.warecount span {
    font-weight: 500;
    font-size: 16px;
}

.warecount .count b {
    float: left;
    background: #d8d8d8;
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}

.warecount .count input[type=number] {
    width: 30px;
    height: 30px;
    line-height: 30px;
    float: left;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    margin-top: 15px;
    text-align: center;
}

.warewanring {
    margin: 15px 0;
}

.warewanring p, .warewanring ol {
    float: left;
}

.warewanring ol li {
    margin-left: 22px;
    color: #CCCCCC;
    line-height: 24px;
}

.footer {
    width: 100%;
    border-top: 1px solid #eeeeee;
    height: 48px;
    line-height: 48px;
    position: fixed;
    bottom: 0px;
    background: #fbf8f8;
}

.footer ul li {
    float: left;
    text-align: center;
}

.footer ul li img {
    width: 30px;
    vertical-align: middle;
    margin-top: -2px;
}

.footer ul li:first-child, .footer ul li:nth-child(2) {
    width: 33%;
    background: url(../img/navborder.png) right no-repeat;
    background-size: 1px 30px;
}

.footer ul li:nth-child(2) {
    background: none;
}

.footer ul li:last-child, .footer ul li:nth-child(3) {
    width: 34%;
    color: #FFFFFF;
}

.footer ul li:nth-child(3) {
    background: #b4b4b4;
}

.footer ul li:last-child {
    background: #9a9a9a;
}

/*底部添加商品了的样式*/
.footer ul li:nth-child(3).threeActive {
    background: #ff9e1c;
}

.footer ul li:last-child.fourActive {
    background: #ff3b43;
}

/*底部未添加的样式*/
.footer ul li:nth-child(3).threeActive_not {
    background: #B4B4B4;
}

.footer ul li:last-child.fourActive_not {
    background: #9A9A9A;
}

/*.footer ul li+li:before{content:"|";color:#CCCCCC;height:30px;width:1px;}*/

.add_div {
    float: right;
    border: 1px solid #D8D8D8;
    width: 75px;
    height: 25px;
}

.add_div div:nth-child(1), .add_div div:nth-child(3) {
    width: 25px;
    height: 25px;
    background-color: #D8D8D8;
    text-align: center;
    float: left;
    padding-top: 1px;
}

.add_div div:nth-child(2) {
    width: 25px;
    height: 25px;
    text-align: center;
    float: left;
    padding-top: 2px;
}


/** 列表展示 **/
.item {
    background-color: white;
    padding: 10px;
    margin-bottom: 1px;
}

.img_div {
    float: left;
}

.img_div img {
    float: left;
    height: 80px;
    width: 80px;
}

.center_div {
    float: left;
    width: calc(100% - 100px);
    margin-left: 10px;
}

.center_div ul{width: 100%;}

.center_div ul li:first-child{width: 100%;}

.center_div ul li:last-child{margin-top: 8px;}


.title {
    font-size: 17px;
}

.desc {
    font-size: 14px;
    color: #999999;
    /*letter-spacing: 1.1px;*/
    font-size: 14px;
}

.right {
    padding: 2px 3px;
    color: red;
    font-size: 13px;
    float: right;
}

.buy_style{
    width:calc(100% - 145px);
    float: left;
}
